/*
A. FashionabLee
cf_20_6_23_1369A
*/
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
	int t;
	scanf("%d",&t);
	while(t--)
	{
		int x;
		scanf("%d",&x);
		if(x%4) puts("NO");
		else puts("YES");
	}
} 
